package pay.config;

import o2o.system.data.SYS_CONFIG_PATH;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 微信的配置参数
 * Jahnke
 * 2017年1月3日 21:36:51
 */
@SuppressWarnings("unused")
public class WeixinConfig {
    private static final Log log = LogFactory.getLog(WeixinConfig.class);


    // app
    //    //老克 开放平台
    public static String appid = "wxa5927b8241f2e01c";
    public static String apiKey = "pl5AXMgxbNNxWPf8M1UCTQKN7vuWq70U";
    public static String mch_id = "1498123832";

    public static String notify_url = SYS_CONFIG_PATH.PROJECT_BASE_URL + "/o2o/action/pay/weixin/notify";            //支付状态改变后的回调方法

    // 骑手的 微信支付配置
    public static String qsAppid = "";
    public static String qsApiKey = "";
    public static String qsMch_id = "";

    // 商家的 微信支付配置
    public static String shopAppid = "";
    public static String shopApiKey = "";
    public static String shopAppSecret = "";
    public static String shopMch_id = "";

    // 公众号
    //吃了么 公众号
    public static String gzhAppId = "wx4fd6dc26b7cc3da1";
    public static String gzhAppSecret = "e7491638728bd4b084bfa27fd27f1115";
    public static String gzhApiKey = "be8b35d24e057c163838847e7jingzhi";
    public static String gzhMchId = "1500508962";
    public static String gzhApiNotifyUrl = "http://jingzhi.jinyouapp.com/jingzhi/action/pay/weixin/gzh/notify";

    //小程序
    //吃了么
    public static String xcxAppId = "wx631237a7c68b1660";
    public static String xcxAppSecret = "afca717f20ce85afeb66e5f161387437";
    // 速达
    public static String xcxMchId = "1475955102";
    public static String xcxApiKey = "9Hi9NhFKgMkWneOScZsZoW8yMnoBzbqn";
    public static String xcxApiNotifyUrl = "";

    // 退款
    public static String refund_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
    public static String wx_refund_cert_file_path = "D://apiclient_cert.p12";//微信退款整数路径
    public static String wx_gzh_refund_cert_file_path = "D://apiclient_cert.p12";//微信退款整数路径
    public static String wx_xcx_refund_cert_file_path = "D://apiclient_cert.p12";//微信退款整数路径
}
